package com.modai.springcloud.dao;

import com.modai.springcloud.entities.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author ：modai
 * @date ：Created in 2020-12-21 11:09
 * @description：
 */
@Mapper
public interface OrderDao {

    void create(Order order);

    void update(@Param("userId")Long userId, @Param("status")Integer status);

}
